{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport useStyle from './style';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n  var customizePrefixCls = props.prefixCls,\n    className = props.className,\n    style = props.style,\n    active = props.active,\n    children = props.children;\n  var _React$useContext = React.useContext(ConfigContext),\n    getPrefixCls = _React$useContext.getPrefixCls;\n  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  var _useStyle = useStyle(prefixCls),\n    _useStyle2 = _slicedToArray(_useStyle, 2),\n    wrapSSR = _useStyle2[0],\n    hashId = _useStyle2[1];\n  var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), hashId, className);\n  var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n    style: style\n  }, content)));\n};\nexport default SkeletonNode;","map":{"version":3,"names":["DotChartOutlined","classNames","React","useStyle","ConfigContext","SkeletonNode","props","customizePrefixCls","prefixCls","className","style","active","children","useContext","getPrefixCls","wrapSSR","hashId","cls","content","createElement"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/skeleton/Node.js"],"sourcesContent":["import DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport useStyle from './style';\nimport { ConfigContext } from '../config-provider';\nconst SkeletonNode = props => {\n  const {\n    prefixCls: customizePrefixCls,\n    className,\n    style,\n    active,\n    children\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const cls = classNames(prefixCls, `${prefixCls}-element`, {\n    [`${prefixCls}-active`]: active\n  }, hashId, className);\n  const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(`${prefixCls}-image`, className),\n    style: style\n  }, content)));\n};\nexport default SkeletonNode;"],"mappings":";;AAAA,OAAOA,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,QAAQ,MAAM,SAAS;AAC9B,SAASC,aAAa,QAAQ,oBAAoB;AAClD,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAGC,KAAK,EAAI;EAC5B,IACaC,kBAAkB,GAK3BD,KAAK,CALPE,SAAS;IACTC,SAAS,GAIPH,KAAK,CAJPG,SAAS;IACTC,KAAK,GAGHJ,KAAK,CAHPI,KAAK;IACLC,MAAM,GAEJL,KAAK,CAFPK,MAAM;IACNC,QAAQ,GACNN,KAAK,CADPM,QAAQ;EAEV,wBAEIV,KAAK,CAACW,UAAU,CAACT,aAAa,CAAC;IADjCU,YAAY,qBAAZA,YAAY;EAEd,IAAMN,SAAS,GAAGM,YAAY,CAAC,UAAU,EAAEP,kBAAkB,CAAC;EAC9D,gBAA0BJ,QAAQ,CAACK,SAAS,CAAC;IAAA;IAAtCO,OAAO;IAAEC,MAAM;EACtB,IAAMC,GAAG,GAAGhB,UAAU,CAACO,SAAS,YAAKA,SAAS,6CACxCA,SAAS,cAAYG,MAAM,GAC9BK,MAAM,EAAEP,SAAS,CAAC;EACrB,IAAM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